﻿using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace T.FAS.Runtime.Metadata.Entity
{
    /// <summary>
    /// ACL控制明细
    /// </summary>
    [Serializable]
    public class ACLDetail
    {
        public string ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public int SortOrder { get; set; }
        public string ACLDefineID { get; set; }
        /// <summary>
        /// 如果是对全部的App设置ACL，IsAllApp=true,对应的AppID为*
        /// </summary>
        public bool IsAllApp { get; set; }
        public string AppID { get; set; }
        /// <summary>
        /// 如果是对全部的Module设置ACL，IsAllModule=true,对应的ModuleID为*
        /// </summary>
        public bool IsAllModule { get; set; }
        public string ModuleID { get; set; }
        public ACLType ACLType { get; set; }
        public string Description { get; set; }
        public string Ext1 { get; set; }
        public string Ext2 { get; set; }
        public string Ext3 { get; set; }
        public DateTime CreateTime { get; set; }
        public string Creator { get; set; }
        public DateTime LastModifyTime { get; set; }
        public string LastModifier { get; set; }

    }
}
